package com.gt.wxpay.cashier.notifyRecord.domain.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gt.wxpay.cashier.domain.model.BaseEntity;
import org.apache.ibatis.type.JdbcType;

/**
 * 通知记录实体
 */
@TableName("cashier_notify_record")
public class NotifyRecord extends BaseEntity {

    /**
     * 通知Ip
     */

    @TableField(value = "notify_ip", jdbcType = JdbcType.VARCHAR)
    private String notifyIp;
    /**
     * 通知内容
     */

    @TableField(value = "notify_content", jdbcType = JdbcType.VARCHAR)
    private String notifyContent;
    /**
     * 通知类型，1-支付结果通知，2-退款结果通知
     */

    @TableField(value = "notify_type", jdbcType = JdbcType.NUMERIC)
    private Integer notifyType;
    /**
     * 通知url
     */

    @TableField(value = "notify_url", jdbcType = JdbcType.VARCHAR)
    private String notifyUrl;

    @TableField(value = "resp_code", jdbcType = JdbcType.VARCHAR)
    private String respCode;

    public String getRespCode() {
        return respCode;
    }

    public void setRespCode(String respCode) {
        this.respCode = respCode;
    }

    public String getNotifyIp() {
        return notifyIp;
    }

    public void setNotifyIp(String notifyIp) {
        this.notifyIp = notifyIp;
    }

    public String getNotifyContent() {
        return notifyContent;
    }

    public void setNotifyContent(String notifyContent) {
        this.notifyContent = notifyContent;
    }

    public Integer getNotifyType() {
        return notifyType;
    }

    public void setNotifyType(Integer notifyType) {
        this.notifyType = notifyType;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }
}
